//
//  OMTBaseViewController.h
//  OMTUIKit
//
//  Created by 昭荣伊 on 2018/7/30.
//

#import <UIKit/UIKit.h>
#import "OMTBaseProtocol.h"
#import "OMTNavigationBar.h"

@interface OMTBaseViewController : UIViewController<OMTAutoHideKeyboardable, OMTReactiveView>

/**
 导航栏
 */
@property (nonatomic, strong) OMTNavigationBar *omt_navigationBar;

/**
 返回前执行的block
 */
@property (nonatomic, copy) void (^willBackBlock)(id);

/**
 返回事件
 
 @param sender 按钮
 */
- (void)backAction:(id)sender;

@end


/**
 导航栏
 */
@interface OMTBaseViewController (Navigation)

/**
 标题视图
 */
@property (nonatomic, strong) UIView *titleView;

@end
